﻿@model HandleErrorInfo
@{
    Layout = "~/Views/Shared/_LogOnLayout.cshtml"; 
}
<h2>
    An Error Has Occurred</h2>
@if (Model != null)
{
    <p>@Model.Exception.GetType().Name</p>
           
    <p>
        Controller: @Model.ControllerName
    </p>
    <p>
        Action: @Model.ActionName
    </p>
    <p>
        Message: @Model.Exception.Message
    </p>
    <p>
        Stack Trace: @Model.Exception.StackTrace
    </p>
}